<template>
  <div>
    <ul>
      <li v-for="(item, index) in obj" :key="index">
        {{ item }}======={{ index }}
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
      obj: {
        id: "1",
        name: "哈哈",
        age: "18",
      },
    };
  },
};
</script>

<style>
</style>